package com.framework.component.extension.ability;

import com.framework.component.extension.anno.ExtensionAbility;
import com.framework.component.extension.ext.dept.SupplyDeptInfoColdChainExt;
import com.framework.component.extension.ext.student.SupplyStudentInfoExt;
import com.framework.component.extension.context.ExtensionContext;
import com.framework.component.extension.register.ExtensionExecutor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class SupplyStudentInfoAbility implements ExtensionAbility {

    @Autowired
    private ExtensionExecutor extensionExecutor;

    @Override
    public void execute(ExtensionContext context) {
        extensionExecutor.execute(SupplyStudentInfoExt.class, context);
    }
}
